package cn.maihe.elg.operation.model.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description 我的售后订单状态审核VO
 * @Author WJH
 * @Date 2021/05/08
 */
@Data
public class RefundOrderStatusOperateVO implements Serializable {

    @NotNull(message = "售后(退款)订单id不能为空")
    private Long id;
    @NotNull(message = "原售后(退款)订单状态不能为空")
    private Integer status;

    @NotNull(message = "审核状态不能为空0不通过 1通过")
    private Integer auditStatus;
    @NotEmpty(message = "审核意见说明不能为空")
    private String auditRemark;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", timezone = "UTC")
    @ApiModelProperty(value = "赔付日期，格式:yyyy-MM-dd HH:mm:ss")
    private Date compensateDate;

    @ApiModelProperty(value = "赔付方式，1保险公司赔付 2投标单位赔付")
    private Integer compensateWay;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", timezone = "UTC")
    @ApiModelProperty(value = "转账日期，格式:yyyy-MM-dd HH:mm:ss")
    private Date transferDate;

    @ApiModelProperty(value = "转账凭证列表json数组格式字符串")
    private String transferFileList;

    @ApiModelProperty(value = "赔付金额")
    private String compensateAmount;

}
